#ifndef SONGMENU_H
#define SONGMENU_H

#include <QMenu>
#include <QList>
#include "EZTally/EZTallyArray.h"

#define SongMenuUserRole (Qt::UserRole+10);

class SongModel;
class MyPlayListModel;

class SongMenu : public QMenu
{
public:
    SongMenu(QWidget *parent = 0);
};



class SongAddToMyPlayListMenu :  public QMenu
{
public :
    SongAddToMyPlayListMenu(QWidget *parent = 0);
    ~SongAddToMyPlayListMenu();

    SongModel *song() const;
    void setSong(SongModel *song);

    int runActionEvent(QAction *action);
private:
    QList<QAction*> _actions;
    SongModel *_song;
    EZTally::EZTallyArray<MyPlayListModel*> *_playLists;
};

#endif // SONGMENU_H
